package com.pattern.responsibility.advance;

/**
 * <p>
 *
 * </p>
 *
 * @author qingshan
 * @since 2021-01-24 18:33
 */
public class URLFilter implements Filter {
    @Override
    public boolean doFilter(Msg msg) {
        String r = msg.getMsg();
        r = r.replace("com.aoyama.test", "http://com.aoyama.test");
        msg.setMsg(r);
        return true;
    }
}
